package com.example.test_witns.pojo;

import com.google.gson.annotations.SerializedName;

public class LikesNumResponse {
    @SerializedName("msg")
    private String msg;

    @SerializedName("status")
    private int status;

    @SerializedName("data")
    private int data;

    // Getters and Setters
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "LikeResponse{" +
                "msg='" + msg + '\'' +
                ", status=" + status +
                ", data=" + data +
                '}';
    }

    public class Data{
        private boolean isLiked;
        private Like like;

        public boolean isLiked() {
            return isLiked;
        }

        public void setLiked(boolean liked) {
            isLiked = liked;
        }

        public Like getLike() {
            return like;
        }

        public void setLike(Like like) {
            this.like = like;
        }

        public Data(boolean isLiked, Like like) {
            this.isLiked = isLiked;
            this.like = like;
        }
    }
}
